package com.request.exception;


import com.rlyy.common.enums.ExceptionEnum;

/**
 * 没有名称参数名称解析器异常
 *
 * @author yuanqinglong
 * @since 2021/10/18 10:22
 */
public class NoParamNameProcessorException extends RuntimeException {

    public NoParamNameProcessorException() {
        super();
    }

    /**
     * 传入枚举类定义的异常信息
     *
     * @param msg 异常信息
     */
    public NoParamNameProcessorException(ExceptionEnum msg) {
        super(msg.getMsg());
    }

    public NoParamNameProcessorException(String msg) {
        super(msg);
    }

    public NoParamNameProcessorException(String message, Throwable cause) {
        super(message, cause);
    }

    public NoParamNameProcessorException(Throwable cause) {
        super(cause);
    }

    public NoParamNameProcessorException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
